#include "myobject.h"
#include <QTimerEvent>
#include <QCoreApplication>

MyObject::MyObject(QObject* parent)
{
}

void MyObject::timerEvent(QTimerEvent* ev) 
{
    qApp->quit();
}